// 抖音订单查询类型
export interface TiktokOrderQuery extends PageQuery {
  orderId?: string;
  goodsId?: string;
  activityId?: string;
  shopId?: string;
  userId?: number;
  directUserId?: number;
  settleStatus?: number;
  payStartTime?: string;
  payEndTime?: string;
  settleStartTime?: string;
  settleEndTime?: string;
}

// 抖音订单列表类型
export interface TiktokOrderVO {
  id: number;
  userId: number;
  directUserId: number;
  agentId: number;
  sn: string;
  accountId: string;
  account: string;
  goodsId: string;
  goodsName: string;
  goodsNum: number;
  goodsCover: string;
  activityId: string;
  orderId: string;
  flowPrice: number;
  authorName: string;
  authorId: string;
  serviceRate: number;
  payServiceFee: number;
  commissionRate: number;
  commissionFee: number;
  status: number;
  platformId: string;
  platformName: string;
  mediaType: string;
  mediaTypeName: string;
  confirmTime: string;
  shopName: string;
  shopId: string;
  payOrderType: number;
  promoter: string;
  promoterId: string;
  settledAmount: number;
  settleServiceFee: number;
  settleTime: string;
  settleStatus: number;
  rebate: number;
  directRebate: number;
  payTime: string;
}

// 抖音订单统计类型
export interface TiktokOrderStatistics {
  orderCount: number;
  orderAmount: number;
  serviceFee: number;
  rebate: number;
}